home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / BCCGRX12.ZIP / contrib / bcc2grx / src / bccgrx20.c < prev    next >
C/C++ Source or Header  |  1993-05-22  |  319b  |  15 lines

  1. /*
  2.  *  BCC2GRX  -  Interfacing Borland based graphics programs to LIBGRX
  3.  *  Copyright (C) 1993  Hartmut Schirmer
  4.  *
  5.  *  see bccgrx.c for details
  6.  */
  7.  
  8. #include "bccgrx00.h"
  9.  
  10. void setrgbpalette(int color, int red, int green, int blue)
  11. {
  12.   _DO_INIT_CHECK;
  13.   GrSetColor( color, red<<2, green<<2, blue<<2);
  14. }
  15.